package com.starinside.wp.repository;

import com.starinside.wp.domain.develop.DevelopUserRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface DevelopUserRecordRepository extends JpaRepository<DevelopUserRecord, String>, JpaSpecificationExecutor<DevelopUserRecord> {

    void deleteAllByChildrenIdAndDevelopItemId(String ChildrenId, String developItemId);

    DevelopUserRecord findAllByChildrenIdAndDevelopItemId(String ChildrenId, String developItemId);
}